package com.witdata.common.domain.enums;

public enum Week {
    MONDAY("星期一", 0), 
    TUESDAY("星期二", 1), 
    WEDNESDAY("星期三", 2),
    THURSDAY("星期四", 3), 
    FRIDAY("星期五", 4), 
    SATURDAY("星期六", 5), 
    SUNDAY("星期日", 6);

    private String desc;
    private int code;

    private Week(String desc, int code) {
        this.desc = desc;
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public int getCode() {
        return code;
    }
}
